const path = require('path')
module.exports = {
  // 服务器配置
  devServer: {
    port: 9527,
    open: true
  },
  // 关闭eslint格式检查
  lintOnSave: false,
  chainWebpack: (config) => {
    config.resolve.alias
      .set('@', path.join(__dirname, 'src'))
      .set('components', path.join(__dirname, 'src/components'))
      .set('views', path.join(__dirname, 'src/views'))
  }
}
